// 门诊挂号api接口
import Axios from 'axios'
import { httpHeader } from './httpHeader'

// 获取患者列表
export function getPatientList() {
  return Axios({
    url: httpHeader() + '/api/getPatientList',
    method: 'get'
  })
}

// 根据姓名和电话获取患者列表
export function getPatientListBynameAndphp(data) {
  return Axios({
    url: httpHeader() + '/api/getPatientListBynameAndphp',
    method: 'post',
    data: data
  })
}

